<?php $tblxfs=dr_site_value('tblxfs');?>
<header>
    <div class="head-top">
      <div class="l-wrap">
        <div class="head-contact">
            <?php if ($tblxfs) { $key=0; foreach ($tblxfs as $v) { ?>
          <div class="item"> 
            <em class="iconfont {$v[3]}"></em>
             <a href="{$v[2]}">{$v[1]}</a> 
          </div>
          <?php  $key++; } } ?>
        </div>
        <div class="head-lang">
          <div class="lang">
            <?php $duoyuyan=dr_site_value('duoyuyan');?>
          <div title="language" class="lang-icon"> <span>{usu_fanyi('Language', $language)}</span> </div>
          <div class="lang-drop"> <span class="lang-arrow"></span>
            <ul class="lang-wrap">
              <?php if ($duoyuyan) { $key=0; foreach ($duoyuyan as $v) { ?>
              <li class="lang-active"><a href="{$v[2]}"> {$v[1]}</a></li>
              <?php  $key++; } } ?>
            </ul>
          </div>
        </div>
          <div class="head-share">
            <?php $smxx=dr_site_value('smxx');?>
            <ul>
              <?php if ($smxx) { $key=0; foreach ($smxx as $v) { ?>
              <li><a href="{$v[2]}" class="social-item fb" rel="nofollow" target="_blank">{$v[1]}</a></li>
              <?php  $key++; } } ?>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="head-info">
      <div class="l-wrap">
        <div class="head-logo"> <a href="" title="{SITE_NAME}"> <img src="{SITE_LOGO}"
              alt="{SITE_NAME}"> <span></span> </a> </div>
        <div class="head-nav">
          <ul class="nav-ul">
            <li> <a href="" class="inmenu_1">Home</a></li>
            {category module=share pid=0 return=t}
            <li id="liproducts"><a href="{dr_url_rel($t.url, SITE_URL)}" class="">{usu_fanyi($t.name, $language)}</a>
              {if $t.child}
              <ul class="submenu nav1">
                {category module=share pid=$t.id return=t2}
                <li class="menu-item LiLevel1"> <a href="{dr_url_rel($t2.url, SITE_URL)}">{usu_fanyi($t2.name, $language)}</a>
                  {if $t2.child}
                  <ul>
                    {category module=share pid=$t2.id return=t3}
                    <li class="LiLevel2"><a href="{dr_url_rel($t3.url, SITE_URL)}">{usu_fanyi($t3.name, $language)}</a></li>
                    {/category}
                  </ul>
                  {/if}
                </li>
                {/category}
              </ul>
              {/if}
            </li>
            {/category}
          </ul>
          <div class="search-box">
            <div class="head-search">
              <button type="button" title="Search"><em class="iconfont icon-sousuo"></em></button>
            </div>
            <form method="get" action="/31514/index.php?m=home&c=Search&a=lists" onsubmit="return searchForm();">
              <div class="search-input">
                <input type="text" name="keywords" id="keywords" placeholder="Keyword">
                <button class="search-btn" type="submit"><em class="iconfont icon-sousuo"
                    aria-hidden="true"></em></button>
              </div>
              <input type="hidden" name="m" value="home"><input type="hidden" name="c" value="Search"><input
                type="hidden" name="a" value="lists"><input type="hidden" name="method" value="1">
            </form>
          </div>
        </div>
        <div class="m-menu"><span></span><span></span><span></span></div>
      </div>
    </div>
  </header>